package com.donghaiair.framework.common.util;

public class DocTypeUtils {

	public static Integer getCode(String type) {
		Integer code = 0;
		switch (type) {
		case "CPD":
			code = 0;
			break;
		case "CLS":
			code = 1;
			break;
		case "YCS":
			code = 2;
			break;
		case "FWG":
			code = 3;
			break;
		case "CLV":
			code = 4;
			break;
		case "GSS":
			code = 5;
			break;
		case "QJS":
			code = 6;
			break;
		case "RSB":
			code = 7;
			break;
		case "JJS":
			code = 8;
			break;
		case "ZZS":
			code = 9;
			break;
		case "SWD":
			code = 10;
			break;
		case "RYY":
			code = 11;
			break;
		case "YSS":
			code = 12;
			break;
		case "BXS":
			code = 13;
			break;
		case "JKS":
			code = 14;
			break;
		case "FKS":
			code = 15;
			break;
		case "YFK":
			code = 16;
			break;
		case "HTS":
			code = 17;
			break;
		case "PXS":
			code = 18;
			break;

		}
		return code;
	}

}
